package com.hotai.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hotai.comment.pojo.Equipment;
import com.hotai.comment.pojo.User;
import com.hotai.vo.equipment.*;
import com.hotai.vo.tongji.XuekernelPage;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.ArrayList;
import java.util.Date;

@Mapper
public interface EquipmentMapper extends BaseMapper<Equipment> {

    ArrayList<EquipmentPage> EquipmetPage(@Param("query") EquipmentList query);

    ArrayList<Equipmentdetails> Equdetaile(@Param("queryware") EquipmentDetileList queryware);

    ArrayList<Equipmentdetails> Equdetailegen(@Param("queryware") EquipmentDetileList queryware);

    ArrayList<GuanEquPage> GuanEquList(@Param("query") EquipmentList query);

    ArrayList<GuanDetaile> GuanEquListDetaile(@Param("id") Integer id);

    void Xianzhi(@Param("id") Integer id);

    void relieve(@Param("id") Integer id);

    Integer tongEq(@Param("query") XuekernelPage xuekernelPage);
}
